package hcn.protocol.ods;

import hcn.util.validation.InvokeType;
import hcn.util.validation.ValidationAnnotaion;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 诊间支付待支付列表请求参数
 *
 * @Create: 2019-07-11 10:51
 **/
@Data
@ToString
public class UnpayedRecordsRequestBean {
    @ValidationAnnotaion.NotNull(errorDescription = "mpiId不能为空")
    private String mpiId;
    @ValidationAnnotaion.NotNull(errorDescription = "orgId不能为空")
    private String orgId;
    private Integer executionType=1;
    @ValidationAnnotaion(type = InvokeType.NUMBER,minValue = 1,errorDescription = "门诊类型不能为空")
    private Integer outpatientType;
    private List<Card> cards;
    //发票列表
    private List<String> invoiceNumberList;

    @Data
    @ToString
    public static class Card{
        private String cardType;
        private String cardNo;
        private String domain;
    }
}
